<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="__ADMIN__/css/pintuer.css">
    <link rel="stylesheet" href="__ADMIN__/css/admin.css">
    <script src="__ADMIN__/js/jquery.js"></script>
    <script src="__ADMIN__/js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改友情链接</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="{:url('admin/link/edi')}" enctype="multipart/form-data">

            <input type="hidden" name="id" value="{$data.id}" />

            <div class="form-group">
                <div class="label">
                    <label>链接名称：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="name" value="{$data.name}" data-validate="required:请输入链接名称" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>链接地址：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="link" value="{$data.link}" data-validate="required:请输入链接地址" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>链接排序：</label>
                </div>
                <div class="field">
                    <input type="number" class="input w50" name="order" value="{$data.order}" />
                    <div class="tips"><span style="line-height:40px;padding-left:10px;color:#777;">此处添加一个数字作为排序标记</span></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>链接状态：</label>
                </div>
                <div class="field" style="padding-top:8px;">
                    首页信息公开应用 <input name="status" value="1" type="radio"
                        {eq name="data.status" value="首页信息公开应用"}checked="checked"{/eq}
                    />
                    首页信息公开禁用 <input name="status" value="2" type="radio"
                      {eq name="data.status" value="首页信息公开禁用"}checked="checked"{/eq}
                    />
                    便民服务链接应用 <input type="radio" name="status" value="3" {eq name="data.status" value="便民服务链接应用"}checked{/eq}/>
                    便民服务链接禁用 <input type="radio" name="status" value="4" {eq name="data.status" value="便民服务链接禁用"}checked{/eq}/>
                    互动查询链接应用 <input type="radio" name="status" value="5" {eq name="data.status" value="互动查询链接应用"}checked{/eq}/>
                    互动查询链接禁用 <input type="radio" name="status" value="6" {eq name="data.status" value="互动查询链接禁用"}checked{/eq}/>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>链接图片：</label>
                </div>
                <div class="field">
                    <img src="/{$data.thumb_url}" style="width:80px;height:60px;border-radius:4px;" />
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label>链接图片：</label>
                </div>
                <div class="field">
                    <input type="file" id="url1" name="img" class="button bg-blue margin-left" style="width:25%; float:left;border-style:none;background-color: #0ae;"  data-toggle="hover" data-place="right" data-image="" />
                    <!--<input type="button" class="button bg-blue margin-left" id="image1" value="+ 浏览上传"  style="float:left;">-->
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>